package com.cyl.manager.act.domain.convert;

import org.mapstruct.Mapper;


import com.cyl.manager.act.domain.entity.FhRechargeData;
import com.cyl.manager.act.domain.vo.FhRechargeDataVO;
import com.cyl.manager.act.domain.dto.FhRechargeDataDTO;


import java.util.List;
/**
 * VIP配置表  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface FhRechargeDataConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    FhRechargeDataDTO do2dto(FhRechargeData source);

    /**
     * @param source DTO
     * @return DO
     */
    FhRechargeData dto2do(FhRechargeDataDTO source);

    List<FhRechargeDataVO> dos2vos(List<FhRechargeData> list);
}
